
package com.tiantian.mall.common;

public class TianTianMallException extends RuntimeException {

    public TianTianMallException() {
    }

    public TianTianMallException(String message) {
        super(message);
    }

    /**
     * 丢出一个异常
     *
     * @param message
     */
    public static void fail(String message) {
        throw new TianTianMallException(message);
    }

}
